﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Heroius.Indexer
{
    public partial class DiaActivate : Form
    {
        public DiaActivate()
        {
            InitializeComponent();
        }

        private void BtnAct_Click(object sender, EventArgs e)
        {
            var dia = new DiaBusy(TbKey.Text);
            if (dia.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.DialogResult = System.Windows.Forms.DialogResult.OK;
            }
        }

        private void BtnCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }
    }
}
